package wortubung.util;

import java.io.IOException;

public interface Printable {
	void prompt(Object... msg);
    void promptf(String fmt, Object... vals);
    void promptfln(String fmt, Object... vals);
    void promptln(Object... msg);
    void promptln();

    void print(String msg);
    void printf(String fmt, Object... vals);
    void printfln(String fmt, Object... vals);
    void println(String msg);
    void println();

    void error(Throwable t);
    void error(Object... msg);

    void openOutputFile(String fileName) throws IOException;
    void closeOutputFile() throws IOException;

    boolean isPrinting();
    void setPrinting(boolean printing);
}